import unittest
class Mydemo(unittest.TestCase):
    def setUp(self):
        self.a=1
    def Mytest1(self):
        print("i am Mytest1 the value of a is {}".format(self.a))
    def Mytest2(self):
        print("i am Mytest2 the value of a is {}".format(self.a))
    def Mytest3(self):
        print("i am Mytest3 the value of a is {}".format(self.a))
if __name__ == '__main__':
    test_runner = unittest.TextTestRunner()
    test_suit = unittest.TestSuite()
    test_suit.addTests(map(Mydemo, ["Mytest1", "Mytest2", "Mytest3"]))
    test_runner.run(test_suit)